﻿using ApplicationModels.A03.Photographs;
using Commons.Responses;
using EntityModels.E03.Photographs;
using System.Linq.Expressions;

namespace IApplicationServices
{
    public interface IPhotographService:IBaseApplicationService<Guid,Photograph, PhotographAM>
    {
        Task<DatasResponse<PhotographAM>> GetPhotographsWithLikeStatusAsync(int pageIndex, int pageSize, Expression<Func<Photograph, bool>> predicate,Guid userId);

        Task<DataResponse<PhotographAM>> GetPhotographWithLikeStatusAsync(Guid id,Guid userId);
        Task<DatasResponse<PhotographAM>> GetPhotographsWithLikeStatusByFollowAsync( Guid userId);

        Task AddHistory(string photographId);

    }
}
